package com.weipai.springboot.model;

import com.weipai.springboot.module.util.DateUtils;

import java.util.UUID;

/**
 * 用户发票实体类
 */
public class CustomerInvoice {
    private String invoiceId = UUID.randomUUID().toString();

    private String customerId;  //用户id

    private String companyName;  //公司全称

    private String taxNumber;   //纳税人识别号

    private String createTime = DateUtils.timeFormat(System.currentTimeMillis());//创建时间

    private String updateTime;

    private String delTime;

    private Integer invoiceDel;

    private Integer isDefault;

    private Integer isSpecifical;   //是否为专用发票

    private String bankName;        //开户行

    private String bankCardnumber;  //银行账号

    private String phoneNumber;     //电话

    private String address;  //详细地址

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId == null ? null : invoiceId.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getTaxNumber() {
        return taxNumber;
    }

    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber == null ? null : taxNumber.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getDelTime() {
        return delTime;
    }

    public void setDelTime(String delTime) {
        this.delTime = delTime == null ? null : delTime.trim();
    }

    public Integer getInvoiceDel() {
        return invoiceDel;
    }

    public void setInvoiceDel(Integer invoiceDel) {
        this.invoiceDel = invoiceDel;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getIsSpecifical() {
        return isSpecifical;
    }

    public void setIsSpecifical(Integer isSpecifical) {
        this.isSpecifical = isSpecifical;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankCardnumber() {
        return bankCardnumber;
    }

    public void setBankCardnumber(String bankCardnumber) {
        this.bankCardnumber = bankCardnumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }
}